hysop.backend.device.codegen.functions.stretching_rhs module

class hysop.backend.device.codegen.functions.stretching_rhs.DirectionalStretchingRhsFunction(typegen, dim, ftype, order, direction, formulation, cached, boundary, ptr_restrict=True, vectorize_u=False, itype='int', used_variables={'U': 'U', 'W': 'W', 'components': 'xyz', 'directions': 'XYZ'}, known_args=None)[source]

Bases: OpenClFunctionCodeGenerator

build_prototype(typegen, dim, itype, ftype, vtype, order, direction, cached, ptr_restrict, storage, vectorize_u, used_variables, formulation, is_conservative, is_periodic)[source]
build_requirements(typegen, dim, itype, ftype, vtype, order, direction, boundary, cached, ptr_restrict, storage, vectorize_u, used_variables, is_conservative, is_periodic, args)[source]
build_stencil(order)[source]
gencode()[source]
per_work_statistics()[source]